package com.ruoyi.mapper;


import com.ruoyi.domain.Asset;
import org.apache.ibatis.annotations.*;

import java.util.List;

@Mapper
public interface AssetMapper extends tk.mybatis.mapper.common.Mapper<Asset>{

    Asset selectByAssetNo(String assetNo);

    void updateAsset(Asset asset);

    void deleteAssetByAssetNo(String assetNo);

    List<Asset> selectAllAsset();

    List<Asset> selectAsset(@Param("assetNo") String assetNo, @Param("assetName")String assetName, @Param("responsibilityDepartmentName")String responsibilityDepartmentName, @Param("period") String period);

    void insertAsset(Asset asset);
}

